import Http from "../http";

//登录验证码
export const verificationImg = function () {
  return Http.get("/login/verificationImg");
};

//登录二维码
export const loginQrcode = function () {
  return Http.get("/login/loginQrcode");
};
//获取主列表数据
export const getListData = function (data: any) {
  return Http.post("/api/page/getMainData", { ...data });
};

//获取主列表数据
export const getBlobDownloadFile = function (id: string) {
  return Http.get("/api/file/download", { id }, { responseType: "blob" });
};
